<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
    <link rel="stylesheet" href="../css/change-password.css">
    <script type="text/javascript" src="../js/change-password.js"></script>
</head>
<body>
<!--检查登陆状态-->
<!--<script>isLogin();</script>-->

<div class="root">
    <form onsubmit="return check()" action="index.html" method="post">
        <fieldset>
            <div class="change-title">
                <p>修改密码</p>
            </div>
            <div class="input-box item">
                <input type="password" name="oldPassword" placeholder="原密码" id="oldPassword" title="输入原密码">
                <span class="error" id="oldPasswordErr"></span>
                <br>

                <input type="password" name="newPassword" placeholder="新密码：英文或数字，6-20个字符" id="newPassword" title="设置新的密码">
                <span class="error" id="newPasswordErr"></span>
                <br>

                <input type="password" name="rePassword" placeholder="重复新密码" id="rePassword" title="再次输入新密码">
                <span class="error" id="rePasswordErr"></span>
                <br>
            </div>
            <div class="button item">
                <input class="submit" type="submit" value="更改密码" id="submit" title="点击确认更改密码">
            </div>
            <div class="other item">
                <a id="forget" title="忘记密码">🤣忘记密码</a>
                <a href="index.html" id="returnIndex" title="返回主页">返回主页🌏</a>
            </div>
        </fieldset>
    </form>
</div>
</body>
</html>